package com.example.lombok;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@Slf4j
public class LombokApplication {

    public static void main(String[] args) {
        int t = 30;
        int oldT = 15;
        log.debug("Temperature set to {}. Old temperature was {}.", t, oldT);
        log.info("hello first");
        log.error("hello error");
        SpringApplication.run(LombokApplication.class, args);
    }

}
